<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/1
  Time: 14:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!doctype html>
<html lang="zh">
<head>
    <title>新增体检计划</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/medicalPlan/add.js"></script>
</head>
<body>
<form id="plansForm" method="post">
<div class="form-wrap">
    <table cellspacing="0" cellpadding="0" class="watch-table" style="width: 690px">
        <tr>
            <td class="watch-td">批次<span>*</span></td>
            <td colspan="3"><input class="easyui-textbox" style="width: 240px" type="text" id="batch" name="batch" data-options="required:true"><br>
               <label style="color: red" >输入格式：年(YYYY)+月(MM)+批次(01-99)</label>
            </td>
            <td colspan="2" class="watch-td">年度<span>*</span></td>
            <td colspan="2" class="watch-tdA">
                <input  class="easyui-textbox"  id="yearAnnual" name="yearAnnual" editable="false" style="width: 240px;" >
                <%--<select class="easyui-combobox" name="yearAnnual" style="width: 240px"
                        data-options="required:true,editable:false,selectOnNavigation:true">
                    <option value="2017">2017</option>
                    <option value="2016">2016</option>
                </select>--%>
            </td>
        </tr>
        <tr>
            <td class="watch-td">体检类别<span>*</span></td>
            <td colspan="3">
                <select class="easyui-combobox" name="medicalCategory" id="medicalCategory" style="width: 240px"
                        data-options="required:true,editable:false,selectOnNavigation:true">
                </select>
            </td>
            <td colspan="2" class="watch-td">体检人数<span>*</span></td>
            <td colspan="2" class="watch-tdA">
                <input class="easyui-numberspinner formInput" style="width: 240px" value="0" name="phyNumber" data-options="required:true">
            </td>
        </tr>
        <tr>
            <td class="watch-td">开始日期<span>*</span></td>
            <td colspan="3">
                <input type="text" name="startDate" style="width: 240px" class="easyui-datebox" style="width:360px;" data-options="required:true,editable:false"/>
            </td>
            <td colspan="2" class="watch-td">结束日期<span>*</span></td>
            <td colspan="2" class="watch-tdA">
                <input type="text" name="endDate" class="easyui-datebox" style="width: 240px" style="width:360px;" data-options="required:true,editable:false"/>
            </td>
        </tr>
        <tr>
            <td class="watch-td">备注</td>
            <td colspan="7" class="watch-tdA">
                <input class="easyui-textbox" type="text" style="height: 100px;width: 586px" name="remarks" data-options="multiline:true">
            </td>
        </tr>
    </table>
    <div class="form-button">
        <a href="javascript:void(0)" onclick="submitForm()" class="easyui-linkbutton"
           data-options="iconCls:'fa fa-save fa-lg'">保存</a>
        <a href="javascript:void(0)" onclick="clearForm()" class="easyui-linkbutton"
           data-options="iconCls:'fa fa-remove fa-lg'">清空</a>
    </div>
</div>
</form>
</body>
</html>
